package com.bingxue.edu.management.education.model.req;

import com.bingxue.edu.common.enums.CommonStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 更新基础信息教室类型
 */
@Data
@Schema(description = " 班级类型修改请求")
public class ClassTypeUpdateReq {

    @Schema(description = "名称")
    @NotBlank(message = "名称不能为空")
    @Length(max = 32, message = "名称长度不能超过 {max} 个字符")
    private String name;


    @Schema(description = "状态")
    private CommonStatusEnum status;

    @Schema(description = "描述")
    @Length(max = 255, message = "描述长度不能超过 {max} 个字符")
    private String description;
}
